<template>
  <!-- 底部 -->

  <footer class="footer">
    <div class="container">
      <div class="footerNav">
        <span class="navitem">友情链接</span>
      </div>
      <div class="contend">
        <span
          class="contenditem curpFooter"
          @click="golink(linkitem.linkurl)"
          v-for="(linkitem, i) in linkItemList"
          :key="i"
        >
          {{ linkitem.name }}
        </span>
      </div>
      <div class="bot">
        <div class="right">
          <p class="top">
            <span
              ><nuxt-link to="/"
                ><span class="topitem">首页</span></nuxt-link
              ></span
            ><span>|</span>
            <span
              ><nuxt-link to="/examination"
                ><span class="topitem">模拟考试</span></nuxt-link
              ></span
            ><span>|</span>
            <span
              ><nuxt-link to="/school"
                ><span class="topitem">驾校</span></nuxt-link
              ></span
            ><span>|</span>
            <span
              ><nuxt-link to="/coach"
                ><span class="topitem">教练</span></nuxt-link
              ></span
            ><span>|</span>
            <span
              ><nuxt-link to="/accompany"
                ><span class="topitem">陪练</span></nuxt-link
              ></span
            ><span>|</span>
            <span
              ><nuxt-link to="/guide"
                ><span class="topitem">指南</span></nuxt-link
              ></span
            >
          </p>
          <p>电话：028-85031088</p>
          <p class="dips">
            <span
              @click="golink('https://beian.miit.gov.cn/')"
              class="curpFooter"
              >蜀ICP备2021002453号-1</span
            >
             <a
              target="_blank"
              href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=51019002004128"
              style="
                display: inline-block;
                text-decoration: none;
                height: 20px;
                line-height: 20px;
                margin-left:20px
              "
              ><img src="~/assets/images/bei.png" style="float:left;"/>
              <p
                style="
                  float: left;
                  height: 20px;
                  line-height: 20px;
                  margin: 0px 0px 0px 5px;
                  color: #939393;
                "
              >
                川公网安备 51019002004128号
              </p></a
            >
          </p>
         
          <p>Copyright © 四川万骏机动车驾驶培训有限公司 2020-2021</p>

        </div>
      </div>
    </div>
  </footer>
</template>
<script>
export default {
  components: {},
  data() {
    return {
      linkItemList: [
        { name: "万骏驾考企业端", linkurl: "https://qiye.wanjunjiakao.com/" },
      ],
    };
  },
  methods: {
    golink(url) {
      window.open(url, "_blank"); // 在新窗口打开外链接
      //  window.location.href =url;  //在本页面打开外部链接
    },
  },
};
</script>

<style scoped lang='scss'>
.dips{
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>